// import '../../http/HttpAddress.dart';
// import '../../http/Request.dart';
//
// /// created by hcl
// /// on 2024/3/6
// /// StationDao
// /// desc 首页方面的接口
// class MainDao {
//   ///首页广告图
//   static Future<HttpResult> homeBanner() async {
//     HttpResult netResult = await Request.request(HttpAddress.homeBanner, data: {});
//     return netResult;
//   }
//
//   ///玩法列表
//   static Future<HttpResult> gameList(int type, int price) async {
//     HttpResult netResult = await Request.request(HttpAddress.gameList, data: {
//       'type': type,
//       'price': price,
//     });
//     return netResult;
//   }
//
//   ///添加新订单,先检查一下是否有预定中的订单
//   static Future<HttpResult> orderNewList() async {
//     return orderList('2', '-1', '', '', 1);
//   }
//
//   ///订单列表
//   static Future<HttpResult> orderList(
//       String orderType, String orderStatus, String startDay, String endDay, int page) async {
//     HttpResult netResult = await Request.request(HttpAddress.orderList, data: {
//       'orderType': orderType,
//       'orderStatus': orderStatus,
//       'startDay': startDay,
//       'endDay': endDay,
//       'curPage': page
//     });
//     return netResult;
//   }
//
//   ///订单提交
//   static Future<HttpResult> orderSubmit(String password, List games) async {
//     HttpResult netResult = await Request.request(HttpAddress.orderSubmit, data: {
//       'password': password,
//       'games': games,
//     });
//     return netResult;
//   }
//
//   ///订单取消
//   static Future<HttpResult> orderCancel(String id, int packageFlag, String password) async {
//     HttpResult netResult = await Request.request(HttpAddress.orderCancel, data: {
//       'id': id,
//       'packageFlag': packageFlag,
//       'password': password,
//     });
//     return netResult;
//   }
//
//   ///订单物流信息
//   static Future<HttpResult> orderLogistics(String id) async {
//     HttpResult netResult = await Request.request(HttpAddress.orderLogistics, data: {
//       'id': id,
//     });
//     return netResult;
//   }
//
//   ///订单发货明细（用于订单签收）
//   static Future<HttpResult> orderInfo(String orderId) async {
//     HttpResult netResult = await Request.request(HttpAddress.orderInfo, data: {
//       'orderId': orderId,
//     });
//     return netResult;
//   }
//
//   ///订单入站（签收）
//   static Future<HttpResult> orderSign(String orderId, List games) async {
//     HttpResult netResult = await Request.request(HttpAddress.orderSign, data: {'orderId': orderId, 'games': games});
//     return netResult;
//   }
//
//   ///预定中订单详情
//   static Future<HttpResult> orderingDetail() async {
//     HttpResult netResult = await Request.request(HttpAddress.orderingDetail, data: {});
//     return netResult;
//   }
//
//   ///活动中的类型
//   static Future<HttpResult> activityIngDetail() async {
//     HttpResult netResult = await Request.request(HttpAddress.activityIngDetail, data: {});
//     return netResult;
//   }
//
//   ///套餐活动列表
//   static Future<HttpResult> activityList() async {
//     HttpResult netResult = await Request.request(HttpAddress.activityList, data: {});
//     return netResult;
//   }
//
//   ///套餐活动详情
//   static Future<HttpResult> activityDetail(String packageId) async {
//     HttpResult netResult = await Request.request(HttpAddress.activityDetail, data: {'packageId': packageId});
//     return netResult;
//   }
//
//   ///套餐活动提交
//   static Future<HttpResult> activitySubmit(String packageId, String password, int packageNumber) async {
//     HttpResult netResult = await Request.request(HttpAddress.activitySubmit,
//         data: {'packageFlag': 1, 'packageId': packageId, 'password': password, 'packageNumber': packageNumber});
//     return netResult;
//   }
// }
